<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>99乘法表</title>
    <style type="text/css">
        table{
            width: 1200px;
            height: 500px;
        }

        td{
            width: auto;
            height: auto;
            text-align: center;
            border : 1px solid;
        }
    </style>
    <script type="text/javascript">


        var table = "<table align='center'>";
        var tr = "<tr>"
        var td = "<td>"

        document.write(table);
        for (var i = 1; i <= 9; i++) {
            document.write(tr);
            for (var j = 1; j <= i ; j++) {
                document.write(td);
                document.write(i+"*"+j+"="+i*j);
            }
        }


    </script>
</head>
<body>

</body>
</html>